package com.hjms.application.sassback;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author 何杨谊
 * @description: TODO
 * @date 2023/1/2 0:15
 */
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {
        "com.hjms.account.share",
        "com.hjms.mall.share",
        "com.hjms.tenant.share"})
@SpringBootApplication(
        exclude = {
            DataSourceAutoConfiguration.class,
            DataSourceTransactionManagerAutoConfiguration.class,
            DruidDataSourceAutoConfigure.class ,
            HibernateJpaAutoConfiguration.class
        })
public class SassBackApplication {
    public static void main(String[] args) {
        SpringApplication.run(SassBackApplication.class, args);
    }
}
